﻿using Owin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Jhong.FunMVC
{
    public abstract class ViewResult : ActionResult
    {

        public static ViewResult GetResultInstance(Response response)
        {
            return FunMVCExtension.GetMVCExtensionInstance().Option.GetViewResultInstance(response);
        }

        public string ViewName { get; set; }

        public ViewDataDictionory ViewData { get; set; }

        public object Model { get; set; }

        public string ControllerName { get; set; }

        public Response _response { get; set; }

    }
}
